Remove GdkSeatGrabPrepareFunc from headers
authorMatthias Clasen <mclasen@redhat.com>
Sat, 22 Feb 2020 03:18:05 +0000 (22:18 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 22 Feb 2020 13:11:34 +0000 (08:11 -0500)
It is not used in public api anymore.

gdk/gdkinternals.h
gdk/gdkseat.h
gdk/gdkseatprivate.h

index f1e06a9b09aaea6d8db538812c6b30f220ee1892..cb63b6bbbf74220fd787a111cdec66a035bbfae0 100644 (file)
@@ -255,6 +255,21 @@ void gdk_surface_get_geometry (GdkSurface *surface,
 
 GdkGLContext *gdk_surface_get_shared_data_gl_context (GdkSurface *surface);
 
+/*
+ * GdkSeatGrabPrepareFunc:
+ * @seat: the #GdkSeat being grabbed
+ * @surface: the #GdkSurface being grabbed
+ * @user_data: user data passed in gdk_seat_grab()
+ *
+ * Type of the callback used to set up @surface so it can be
+ * grabbed. A typical action would be ensuring the surface is
+ * visible, although there's room for other initialization
+ * actions.
+ */
+typedef void (* GdkSeatGrabPrepareFunc) (GdkSeat   *seat,
+                                         GdkSurface *surface,
+                                         gpointer   user_data);
+
 GdkGrabStatus  gdk_seat_grab             (GdkSeat                *seat,
                                           GdkSurface              *surface,
                                           GdkSeatCapabilities     capabilities,
index 87e36a3c7a3828e2db40e49a935b86896b519f0a..10c8d722e47c46074315f3b70d022a15220e933e 100644 (file)
@@ -59,21 +59,6 @@ typedef enum {
   GDK_SEAT_CAPABILITY_ALL           = (GDK_SEAT_CAPABILITY_ALL_POINTING | GDK_SEAT_CAPABILITY_KEYBOARD)
 } GdkSeatCapabilities;
 
-/**
- * GdkSeatGrabPrepareFunc:
- * @seat: the #GdkSeat being grabbed
- * @surface: the #GdkSurface being grabbed
- * @user_data: user data passed in gdk_seat_grab()
- *
- * Type of the callback used to set up @surface so it can be
- * grabbed. A typical action would be ensuring the surface is
- * visible, although there's room for other initialization
- * actions.
- */
-typedef void (* GdkSeatGrabPrepareFunc) (GdkSeat   *seat,
-                                         GdkSurface *surface,
-                                         gpointer   user_data);
-
 struct _GdkSeat
 {
   GObject parent_instance;
index ed7a87ec7a9e3d7c7b5fac3d8f4bf1746086be6c..112465d9be2a52a4463c948cda3d5eb1a07c3290 100644 (file)
@@ -23,6 +23,7 @@
 typedef struct _GdkSeatClass GdkSeatClass;
 
 #include "gdkseat.h"
+#include "gdkinternals.h"
 
 #define GDK_SEAT_CLASS(c)     (G_TYPE_CHECK_CLASS_CAST ((c), GDK_TYPE_SEAT, GdkSeatClass))
 #define GDK_IS_SEAT_CLASS(c)  (G_TYPE_CHECK_CLASS_TYPE ((c), GDK_TYPE_SEAT))